const Controller = require("egg").Controller;
class UserController extends Controller {
  async info() {
    const { ctx } = this;
    const followers = await ctx.service.users.find(ctx.query);
    console.log("ctx.params------------ ", ctx.query);
    console.log("followers------------ ", followers.length);
    await ctx.render("followers.ejs", { followers });
    // ctx.body = userInfo;
  }
}
module.exports = UserController;
